package com.shuker.design.abstarct.factory;

import java.util.concurrent.TimeUnit;

/**
 * @author ：Shuker
 * @date ：Created in 2022/1/11 16:57
 * @description：Redis接口
 * @version: 1.0
 */
public interface CacheService {
    String get(final String key, int redisType);

    void set(String key, String value, int redisType);

    void set(String key, String value, long timeout, TimeUnit timeUnit, int redisType);

    void del(String key, int redisType);

}
